x86/mm: Use mfn_t in type get / put call tree
authorGeorge Dunlap <george.dunlap@citrix.com>
Fri, 13 Dec 2019 14:09:46 +0000 (14:09 +0000)
committerGeorge Dunlap <george.dunlap@citrix.com>
Mon, 16 Dec 2019 15:46:24 +0000 (15:46 +0000)
commitf95559ba074f474afe37e3861f3eeed8bfa876b5
treeedf31c5b8ce5c483b72016029f7dca0dfe69d6ec
parentea51977a7aa5e645680a7194550fbceb59004ccf
x86/mm: Use mfn_t in type get / put call tree

Replace `unsigned long` with `mfn_t` as appropriate throughout
alloc/free_lN_table, get/put_page_from_lNe, and
get_lN_linear_pagetable.  This obviates the need for a load of
`mfn_x()` and `_mfn()` casts.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm.c